<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script  src="static/js/jquery-3.5.1.js"></script>
</head>
<body>
<table border="1" cellpadding="15" cellspacing="0">
    <thead>
    <tr>
        <th><input type="checkbox" id="check"></th>
        <th>用户编号</th>
        <th>用户账号</th>
        <th>用户密码</th>
        <th>用户类型</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="user" items="${users}">
        <tr>
            <td><input type="checkbox" id="check1"></td>
            <td>${user.id}</td>
            <td>${user.username}</td>
            <td>${user.password}</td>
            <td>${user.type}</td>
            <td>
                <button type="button" class="layui-btn">编辑</button>
                <button type="button" class="layui-btn">删除</button>
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>
